package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.town.Store;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class StoreExp extends Store {

    private Integer companyRegionId;
    /**
     * 商品浏览次数
     */
    @TableField("visit_count")
    private Integer visitCount;
    /**
     * 商品虚拟浏览次数
     */
    @TableField("vistit_virtual_count")
    private Integer vistitVirtualCount;
    /**
     * 商品收藏虚拟次数
     */
    private Integer collectVirtualCount;
    /**
     * 商品收藏次数
     */
    private Integer collectCount;
    /**
     * 商城商品数量
     */
    @TableField("shop_count")
    private Integer shopCount;
    /**
     * 商城店铺综合评分
     */
    @TableField("overall_rate")
    private BigDecimal overallRate;
    /**
     * 商城店铺商品评分
     */
    @TableField("shop_rate")
    private BigDecimal shopRate;
    /**
     * 商城店铺服务评分
     */
    @TableField("service_rate")
    private BigDecimal serviceRate;
    /**
     * 商城店铺物流评分
     */
    @TableField("logistics_rate")
    private BigDecimal logisticsRate;
    /**
     * 营业起始时间
     */
    @TableField("store_open_start_time")
    private Date storeOpenStartTime;
    /**
     * 营业结束时间
     */
    @TableField("store_open_end_time")
    private Date storeOpenEndTime;

    /**
     * 相关照片
     */
    private String photo;
}
